package com.aura.blog.dto.request;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotNull;
import lombok.Data;

@Data
@Schema(description = "更新博客请求对象")
public class UpdateBlogRequest {
    
    @NotNull(message = "博客Id不能为空")
    @Schema(description = "博客ID")
    private Integer id;

    @Schema(description = "博客标题", example = "更新后的博客标题")
    private String title;

    @Schema(description = "博客内容", example = "更新后的博客内容...")
    private String content;
}